home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************************
- * main v1.3.0
- *******************************************************************************
-
- machine 68020
- include defs.i
-
- *******************************************************************************
-
- when.s Init[a0,d0] ;initialization
-
- when.s ParseCmdLn[#CmdLn] ;get command line args
- Print[#txt_title] ;must come after ParseCmdLn[]
- when.s ~Settings[] ;open files, allocmem, etc.
- GiveInfo[] ;show some info
- Split[] ;if no err, execute splitting
- ewhen
- ShowResult[d0] ;d0 ret. by Settings[] or Split[]
- othw
- Print[#txt_title]
- Print[#txt_UsgHlp] ;show help text
- ewhen
-
- ewhen
- CleanUp[] ;final cleanup
- rts
-
- *******************************************************************************
- * subroutines and data
-
- include split.ei
- include opt.ei
- include misc.ei
- include data.i
-